<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Insert title here</title>
</head>
<body>
	<form action="init" method="post">
		<input name="userId" type="text"/>
		<button type="submit" name="search">search</button>
	</form>
	<form action="insert" method="post">
		<input name="userId" type="text"/>
		<input name="userName" type="text"/>
		<button type="submit" name="insert">insert</button>
	</form>
	
	<form action="supdate" method="post">
		<input name="userId" type="text"/>
		<button type="submit" name="update">supdate</button>
	</form>
	
	<form action="list" th:object="${userBean}" method="post">
		<input name="userId" type="text" value="1"/>
		<button type="submit" name="searchall">searchall</button>
	</form>
	
	<form action="userLogin" th:object="${userBean}" method="post">
		<div>
			<span><label>ID</label></span> <span><input name="userId" type="text" /></span>
		</div>
		<div>
			<span><label>密码</label></span> <span><input name="password" type="password" /></span>
		</div>
		<div>
			<span><input type="submit" value="登录" /></span>
		</div>
		<div>
			<span><input type="submit" value="注册" /></span>
		</div>
		<div>
			<span><input type="submit" value="修改" /></span>
		</div>
	</form>
	
	
	<form action="register" th:object="${userBean}" method="post">
		<div>
			<span><label>ID</label></span> <span><input name="userId" type="text" /></span>
		</div>
		<div>
			<span><label>用户名</label></span> <span><input name="userName" type="text" /></span>
		</div>
		<div>
			<span><label>密码</label></span> <span><input name="password" type="password" /></span>
		<div>
			<span><label>确认密码</label></span> <span><input name="passwordConfirm" type="password" /></span>
		</div>
		</div>
		<div>
			<span><input type="submit" value="注册" /></span>
		</div>
		<div>
			<span><input type="submit" value="返回" /></span>
		</div>
		<div>
			<span><input type="submit" value="修改" /></span>
		</div>
	</form>
	
</body>
</html>